home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / FaderShell / Blackout.r < prev    next >
Text File  |  1991-08-22  |  1KB  |  78 lines

  1. /*
  2.  
  3.     Blackout.r - Resources for a simple screen Blackout that runs as a MultiFinder
  4.     application.  Is typically launched by Lunarmobiscuit's
  5.     Darkness MultiFinder screen saver program.
  6.     
  7.     copyright © 1989, 1990, 1991 by Tom Dowdy
  8.     All rights reserved
  9.     
  10.     
  11.     Modifications
  12.         Aug    5 1989        TED        basic fade working as standalone code
  13.         Nov 30 1989        TED        file converted to a standalone application
  14.         
  15.     
  16. */
  17. #include "Types.r"
  18. #include "SysTypes.r"
  19.  
  20. /* A single menu, which MUST be here for MultiFinder to be able to quit */
  21. resource 'MENU' (1, preload) {
  22.     1, textMenuProc,
  23.     0b0000000000000000000000000000001,
  24.     enabled, apple,
  25.     {
  26.         "Quit",
  27.             noicon, nokey, nomark, plain
  28.     }
  29. };
  30.  
  31. /* ------------------------------------------------------------------------    */
  32. /*    Version information */
  33.  
  34. resource 'vers' (1) {
  35.     0x02, 
  36.     0x05, 
  37.     release, 
  38.     0x00, 
  39.     verUS,
  40.     "2.5",
  41.     "DarkSide Faders 2.5"
  42. };
  43.     
  44. resource 'vers' (2) {
  45.     0x02, 
  46.     0x05, 
  47.     release, 
  48.     0x00, 
  49.     verUS,
  50.     "2.5",
  51.     "Dark Side of the Mac 2.5"
  52. };
  53. /* ------------------------------------------------------------------------    */
  54.  
  55. /* The size resource for our Blackout */
  56. resource 'SIZE' (-1) {
  57.     dontSaveScreen,
  58.     acceptSuspendResumeEvents,
  59.     enableOptionSwitch,
  60.     canBackground,
  61.     multiFinderAware,
  62.     backgroundAndForeground,
  63.     dontGetFrontClicks,
  64.     ignoreChildDiedEvents,
  65.     is32BitCompatible,
  66.     reserved,
  67.     reserved,
  68.     reserved,
  69.     reserved,
  70.     reserved,
  71.     reserved,
  72.     reserved,
  73.     32*1024,
  74.     32*1024
  75. };
  76.  
  77.  
  78.